<%-- 
    Document   : index
    Created on : 06/07/2012, 12:30:02
    Author     : Fellipe
--%>

<%@page import="java.sql.Connection"%>
<%@page import="com.DAO.ConexaoPostgreSQL.ConnectionFactory"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Hello World!</h1>

        <% Connection con = new ConnectionFactory().getConnection();
            
            if (con != null) {
                out.print("Não nulo");
            } else {
                out.print("nulo");
            }
        %>

    </body>
</html>
